/*! normalize.css v2.1.2 | MIT License | git.io/normalize */
/* Hay forma de normalizar estilos */
html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
/* Para probar en desktop */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    border: 0;
    font-size: 100%;
    margin: 0;
    padding: 0;
}
nav {
    display: block;
}
/* FIN para probar en desktop */
html, body, a, h1, h2, h3, h4, h5, h6, p, ul, ol, li {
    margin: 0;
    padding: 0;
}
/* Valores iniciales para iPhone Retina */
body {
    /*background: #ccc;*/
    /*font-family: Arial Helvetica, sans-serif;*/
    font-size: 20px;
    margin: 0;
}

/*@media screen and (min-width: 960px), screen and (min-device-width: 960px) {
        body { font-size: 12px; }
}*/

a:focus {
    outline: thin dotted;
}
a:active, a:hover {
    outline: 0;
}
button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}
img {
    border: 0;
}

/* apariencia */
/* Secciones */
.page {
    display: none;
    height: 100%;
    left: 0;
    position: relative;
    top: 0;
    width: 100%;
    z-index: 8;
}
.page.active {
    display: block;
}
.page .inner {
    background: #fff;
    padding: 10px 0 98px;
}
.page header {
    background: #fff;
    height: 3.200em;
    position: relative;
    width: 100%;
    text-align: center;
    
}
.page header h1 {
    font-size: 1.700em;
    font-weight: normal;
    line-height: 1em;
    padding-top: 0.55em;
}
.page header nav {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 7.000em;
    z-index: 10;
}
.page header nav a {
    /*background: #ccc url("../img/comillon.gif") no-repeat 13px center;*/
    color: #006bff;
    display: block;
    height: 100%;
    text-decoration: none;
    position: relative;
}
.page header nav a span {
    display: block;
    font-size: 1.700em; /*34px*/
    padding: 0.529em 0 0 31.42%;
    position: relative;
}
.page header nav a span:before {
    content: "‹";
    display: inline-block;
    font-size: 2.647em;/*90px;*/
    left: 0.133em;
    line-height: 0.267em; /*24px;*/
    position: absolute;
    top: 0.178em; /*0.144em;*/
}
#noticias nav, #galeria nav, #programa nav, #contacto nav, #redes nav {
    display: none;
}
#programa header, #contacto header, #redes header {
    display: none;
}
/* Home */
.splash {
    overflow: hidden;
}
#home {
    /*overflow: hidden;
    height: 1%;
    padding-bottom: 99%;
}
#home img {
    position: absolute;
    top: 0;
    left: 0;*/
}
#home .inner {
    padding-bottom: 0;
}
#home img {
    height: auto;
    width: 100%;
}

/* listado noticias */
.page ul.racimo {
    border-top: 1px solid #999999; 
    display: block;
    /*padding-bottom: 8.250em;*/
    width: 100%;
}
.racimo>li {
    background: #fff;
    border: none;
    border-top: 1px solid #999999;
    border-bottom:  1px solid #999999;
    display: block;
    position: relative;
}
.racimo>li>a {
    color: inherit;
    display: block;
    height: 6.200em;
    padding: 2.400em 7.8% 3.100em 4.2%;
    position: relative;
    text-decoration: none;
    width: 88%;
}
.racimo li .icon, #evento_detalle .icon {
    border-radius: 1.400em;
    height: 6.000em; /*120px;height: 150%;*/
    overflow: hidden;
    text-align: center;
    width: 6.000em; /*120px;*/
}
.racimo li .icon {
    float: left;
    margin-right: 5.3%;
    margin-bottom: 10%;
}
.racimo li .icon img, #evento_detalle .icon img {
    height: 100%;
    width: 100%;
}
.racimo li .iconBorde {
    border: 1px solid #929292;
}
.icon h4 {
    font-weight: normal;
    line-height: 0.800em;
    margin: 0.600em 0 0 0;
}
.icon h5 {
    font-size: 4.500em;
    font-weight: normal;
    line-height: 0.800em;
    margin: 0.133em 0 0 0;
}
.racimo li h3 {
    font-size: 1.400em;
    font-weight: normal;
    line-height: em;
    margin-bottom: 0.4em;
}
.racimo li p {
    font-size: 1.100em;
    line-height: 1.2em;
    text-align: justify;
}
.racimo>li>a:after {
    color: #006bff;
    content: "›";
    font-size: 4.500em;
    line-height: 1em;
    margin-top: -0.5em;
    position: absolute;
    right: 1.5%;
    top: 50%;
    z-index: 33;
}

/* Detalle evento y Noticia */
#evento_detalle h2, #evento_detalle h3, #evento_detalle h4, #evento_detalle h5 {
    font-size: 1.400em; /*28px;*/
    font-weight: normal;
    margin-left: 7.5%;
    padding-top: 3%;
    padding-bottom: 4%;
}
#evento_detalle h4 span {
    font-size: 0.786em; /*22px;*/
}
#evento_detalle a.icon {
    background: url("../img/icon-compartir.gif") no-repeat center;
    border-radius: 0;
    display: block;
    float: right;
    height: 2.600em; /*52px;*/
    margin: 1em 7.5% 0 0;
    width: 2.600em; /*52px;*/
}
#evento_detalle a.icon span {
    display: none;
}
#evento_detalle .icon {
    margin: 1.350em 7.5%;
}
#evento_detalle .notiIntro {
    border-bottom: 2px solid #999999;
    /*padding-bottom: 1.350em;*/
    margin-bottom: 2em;
}
#evento_detalle p {
    font-size: 1.100em;
    line-height: 1.2em;
}
#evento_detalle p a {
    color: #000;
}
#evento_detalle .mapa {
    margin: 3.4% 7.5%;
    height: 450px;
}
#evento_detalle .mapa img {
    height: auto;
    width: 100%;
}
#evento_detalle .new-full-body,
#evento_detalle .event-full-description{
    width: auto;
    margin: 0 7.5% 1.350em;
}


/*Compartir Evento o Noticia*/
#compartir {
    background: #fff;
    border-top: 1px solid #999999;
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    width: 100%;
    z-index: 101;
}
#compartir header {
    background: url("../img/icon-compartir.gif") no-repeat 8.75% center;
    border-bottom: 1px solid #999999;
    border-top: 1px solid #999999;
    padding: 2.500em 7.5% 3.000em 28.125%;
}
#compartir h2 {
    font-size: 1.400em;
    font-weight: normal;
}
#compartir p, #compartir li {
    font-size: 1.1em;
    line-height: 1.455em;
}
#compartir ul {
    border-top: 1px solid #999999;
    display: block;
    padding: 0;
    text-align: center;
    list-style: none;
}
#compartir li {
    display: inline-block;
    margin: 1.5em 0.4em 2.250em;
    width: 6em;
}
#compartir li a {
    display: block;
    text-decoration: none;
    color: #000;
}
#compartir li img {
    border-radius: 1.4em;
    height: 6em;
    width: 6em;
}
#compartir .btn {
    background: #ebebeb;
    color: #186ee7;
    cursor: pointer;
    font-size: 1.7em;
    padding: 0.882em 0;
    text-align: center;
}


/* Galería */
#galeria .racimo ul {
    padding: 0 10%;
    text-align: center;
    width: 80%;
}
#galeria .racimo #videos ul {
    padding: 0 10% 1.4em;
}
#galeria .racimo li h3 {
    font-size: 1.700em;/*34px*/
    /*margin: 0.882em 0 0.471em;*/
    margin: 0.588em 0 0;  
    text-align: center;
}
#galeria .racimo ul>li {
    display: inline-block;
    height: 6.000em; /*120px;*/
    margin: 0.950em;/*19px;*/
    width: 6.000em; /*120px;*/
}
#galeria .racimo ul>li a {
    position: relative;
    display: block;
}
#galeria .racimo ul>li a img {
    border-radius: 1.4em;
    display: block;
    height: 100%;
    left:0;
    /*position: relative;*/
    top: 0;
    width: 100%;
    /*z-index: 77;*/
}
#galeria .racimo #descargables ul>li a img {
    border-radius: 0.7em; 
}
#videos li a:before, #descargables li a:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent no-repeat center;
    display: block;
    content: "";
}
#videos li a:before {
    background-image: url("../img/over-icon-play.png");
    background-size: 27.5% 39.1%;
}
#descargables li a:before {
    background-image: url("../img/over-icon-descarga.png");
    background-size: 46.6% 50.8%;
}
.racimo>li>a.retro, .racimo>li>a.avanz {
    color: #006bff;
    font-size: 4.500em;
    height: 100%;/*height: 50%;*/
    padding: 0;/*padding: 50% 0 0 0;*/
    position: absolute;
    top: 0;
    width: 12.5%;
    z-index: 34;
}
.racimo>li>a.retro span, .racimo>li>a.avanz span {
    margin-top: -0.5em;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 100%;
}
.racimo>li>a.retro {
    left: 0;
}
.racimo>li>a.avanz {
    right: 0;
}
.racimo>li>a.retro:after, .racimo>li>a.avanz:after {
    content: "";
    display: none;
}
/* Programa */
#programa img, #contacto img, #redes img {
    border: 3px solid #929292;
    border-radius: 3px;
    height: auto;
    margin: 2.8% 0 4.4% 8.5%;
    width: 55.6%;
}
#programa h2, #programa p {
    color: #616060;
    font-size: 1.250em;/*25px;*/
    line-height: 1.2em;
    margin-left: 8.5%;
    margin-right: 8.5%;
}
#programa p {
    font-weight: lighter;
    margin-bottom: 1.2em;
    text-align: justify;
}
#programa .inner p a {
    color: #616060; 
}
/* Contacto */
textarea {
    margin: 2% 0;
}
label {
    margin-bottom: 1%;
}
label, input, textarea {
    font-family: sans-serif;
    font-size: 1em;
}
textarea, label, input[type=button] {
    color: #006bff;
    display: inline-block;
    margin-left: 8.5%;
    margin-right: 8.5%;
    width: 82%;
}
input, textarea {
    border: 0.150em solid #929292;/*3px solid #929292;*/
    border-radius: 3px;
    color: #333;
}
input[type=button] {
    background: #006bff;
    border-radius: 6px;
    color: #fff;
    margin-bottom: 5%;
    padding: 1%;
    width: 83%;
}
label[for=nombre_usuario] {
    width: 60%;
}
label[for=email_usuario] {
    width: 71%;
}
label[for=web_usuario] {
    width: 71%;
}
label[for=tel_usuario] {
    margin-right: 3.5%;/*margin-right: 1.5%;*/
    width: 29%;/*width: 31%;*/
}
label[for=dir_usuario] {
    margin-left: 0;
    width: 47%;/*width: 49%;*/
}
input#nombre_usuario, input#email_usuario, input#web_usuario, input#tel_usuario, input#dir_usuario {
    height: 1.850em;
    width: 100%;
}


/* Redes */
#redes img {
    display: block;
    margin: 2.8% auto 3% auto;
    width: 40%;
}
#redes h2 {
    color: #006bff;
    font-size: 1.500em;/*30px;*/
    font-weight: lighter;
    /*margin-left: 8.5%;*/
    margin: 0 0 5% 0;
    text-align: center;
}
#redes ul {
    display: block;
    width: 100%;
}
#redes li {
    /*background: url("../img/redes-icon-twit.jpg") no-repeat 2.4% center, url("../img/fondo-btn-redes-twi.jpg") repeat-x center;*/
    border: 2px solid #666;
    border-radius: 6px;
    display: block;
    font-size: 1.400em;/*28px;*/
    font-weight: bold;
    line-height: 1.214em;/*34px;*/
    margin: 2% auto;
    max-height: 46px;
    overflow: hidden;
    text-align: center;
    width: 44.6%;
}
#redes li.twit {
    background: url("../img/redes-icon-twit.jpg") no-repeat 2.4% center, url("../img/fondo-btn-redes-twi.jpg") repeat-x center;
    border-color: #009dbf;
}
#redes li.face {
    background: url("../img/redes-icon-face.jpg") no-repeat 2.4% center, url("../img/fondo-btn-redes-face.jpg") repeat-x center;
    border-color: #28478d;
}
#redes li.tube {
    background: url("../img/redes-icon-yout.jpg") no-repeat 2.4% center, url("../img/fondo-btn-redes-yout.jpg") repeat-x center;
    border-color: #e60017;
}
#redes li.pica {
    background: url("../img/redes-icon-pica.jpg") no-repeat 2.4% center, url("../img/fondo-btn-redes-pica.jpg") repeat-x center;
    border-color: #783c82;
}
#redes li a {
    color: #fff;
    display: block;
    height: 100%;
    padding: 0.214em 0 0.250em 2.214em;/*6px 0 7px 62px;*/
    text-decoration: none;
}
#redes li.face a {
    padding-left: 1.714em;/*48px;*/
}
#redes li.tube a {
    padding-left: 1.929em;/*54px;*/
}
#redes li.pica a {
    padding-left: 2.000em;/*56px;*/
}

/* Menú principal */
.menu {
    position: fixed;
}
.menu#mainMenu {
    background: #f9f9f9;
    border-top: 1px solid #b2b2b2; 
    bottom: 0;
    height: 98px;
    left: 0;
    text-align: center;
    width: 100%;
    z-index: 99;
}
#mainMenu ul {
    display: block;
    height: 100%
}
#mainMenu li {
    background: transparent no-repeat center top;
    display: inline-block;
    height: 100%;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 19%;
}
#mainMenu .noti {
    background-image: url("../img/icon-noticias.gif");
}
#mainMenu .gal {
    background-image: url("../img/icon-galeria.gif");
}
#mainMenu .prog {
    background-image: url("../img/icon-programa.gif");
}
#mainMenu .contac {
    background-image: url("../img/icon-contacto.gif");
}
#mainMenu .red {
    background-image: url("../img/icon-redes.gif");
}
#mainMenu li.active {
    background-position: center bottom;
}
#mainMenu a {
    color: #929292;
    display: block;
    height: 100%;
    position: relative;
    text-decoration: none;
    width: 100%;
}
#mainMenu li.active a {
    color: #006bff;
}
#mainMenu a span {
    display: block;
    bottom: 0.200em;
    line-height: 100%;
    position: absolute;
    width: 100%;
}
#mobilePhone {
    background: #d1d1d1;
    display: block;
    height: 4.167em;
    left: 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
}

/* Modulación para 480px (80%) y 320px (50%) de ancho */
/*@media screen and (max-width: 959px), screen and (min-width: 480px), screen and (max-device-width: 959px), screen and (min-device-width: 480px) {
        body { font-size: 2px; }
}*/
@media screen and (max-width: 500px), screen and (max-device-width: 500px) {
    body { font-size: 16px; }
    .page .inner { padding: 12px 0 78px; }
    #galeria .racimo ul > li, #compartir li, #compartir li img { height: 5.8em; width: 5.8em; }
    #evento_detalle a.icon, #compartir header { background-size: 41px 41px; }
    #redes li, #redes li.twit, #redes li.face, #redes li.tube, #redes li.pica { background-size: 44px 38px, 5px 38px }
    .menu#mainMenu { height: 78px; }
    #mainMenu li { background-size: 40px 157px; }
    #mainMenu li.gal { background-size: 69px 157px; }
    #evento_detalle .mapa{
        height: 300px;
    }
}
@media screen and (max-width: 360px), screen and (max-device-width: 360px) {
    body { font-size: 10px; }
    .page .inner { padding: 10px 0 49px; }
    #evento_detalle a.icon, #compartir header { background-size: 26px 26px; }
    #redes li, #redes li.twit, #redes li.face, #redes li.tube, #redes li.pica { background-size: 28px 24px, 3px 24px }
    .menu#mainMenu { height: 49px; }
    #mainMenu li { background-size: 25px 99px; }
    #mainMenu li.gal { background-size: 43px 99px; }
    #evento_detalle .mapa{
        height: 200px;
    }
}
